package com.itfsw.jenkins.plugins;

import org.kohsuke.stapler.DataBoundConstructor;

public class QiniuPublisherEntry {
    public String source, relative, bucket, prefix;
    public boolean noUploadOnExists, noUploadOnFailure;

    public QiniuPublisherEntry() {
    }

    @DataBoundConstructor
    public QiniuPublisherEntry(String source, String relative, String bucket, String prefix, boolean noUploadOnFailure, boolean noUploadOnExists) {
        this.source = source;
        this.relative = relative;
        this.bucket = bucket;
        this.prefix = prefix;
        this.noUploadOnExists = noUploadOnExists;
        this.noUploadOnFailure = noUploadOnFailure;
    }
}
